[INFO] fetching crate usb-ids 1.2025.2...
[INFO] fixing usb-ids-1.2025.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate usb-ids 1.2025.2 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate usb-ids 1.2025.2
[INFO] finished tweaking crates.io crate usb-ids 1.2025.2
[INFO] tweaked toml for crates.io crate usb-ids 1.2025.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate usb-ids 1.2025.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate usb-ids 1.2025.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9
[INFO] running `Command { std: "docker" "start" "908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   phf_shared v0.11.3 removed features: default
[INFO] [stderr] 
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking phf_shared v0.11.3
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling usb-ids v1.2025.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.41s
[INFO] [stderr] crater-edition-check: usb-ids v1.2025.2 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]    Compiling usb-ids v1.2025.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.12s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   phf_shared v0.11.3 removed features: default
[INFO] [stderr] 
[INFO] [stderr]     Checking usb-ids v1.2025.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (7 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.64s
[INFO] [stderr] crater-edition-check: usb-ids v1.2025.2 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling usb-ids v1.2025.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:213:37
[INFO] [stdout]     |
[INFO] [stdout] 213 |             ParserState::Vendors(m, ref mut curr_vendor, ref mut curr_device_id) => {
[INFO] [stdout]     |                                     ^^^^^^^              ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |             ParserState::Vendors(m, ref mut curr_vendor, ref mut curr_device_id) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifiers
[INFO] [stdout]     |
[INFO] [stdout] 213 -             ParserState::Vendors(m, ref mut curr_vendor, ref mut curr_device_id) => {
[INFO] [stdout] 213 +             ParserState::Vendors(m, curr_vendor, curr_device_id) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:251:37
[INFO] [stdout]     |
[INFO] [stdout] 251 |             ParserState::Classes(m, ref mut curr_class, ref mut curr_class_id) => {
[INFO] [stdout]     |                                     ^^^^^^^             ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 |             ParserState::Classes(m, ref mut curr_class, ref mut curr_class_id) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifiers
[INFO] [stdout]     |
[INFO] [stdout] 251 -             ParserState::Classes(m, ref mut curr_class, ref mut curr_class_id) => {
[INFO] [stdout] 251 +             ParserState::Classes(m, curr_class, curr_class_id) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:288:36
[INFO] [stdout]     |
[INFO] [stdout] 288 |             ParserState::AtType(m, ref mut current) => {
[INFO] [stdout]     |                                    ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:288:13
[INFO] [stdout]     |
[INFO] [stdout] 288 |             ParserState::AtType(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 288 -             ParserState::AtType(m, ref mut current) => {
[INFO] [stdout] 288 +             ParserState::AtType(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:301:37
[INFO] [stdout]     |
[INFO] [stdout] 301 |             ParserState::HidType(m, ref mut current) => {
[INFO] [stdout]     |                                     ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |             ParserState::HidType(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 301 -             ParserState::HidType(m, ref mut current) => {
[INFO] [stdout] 301 +             ParserState::HidType(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:313:35
[INFO] [stdout]     |
[INFO] [stdout] 313 |             ParserState::RType(m, ref mut current) => {
[INFO] [stdout]     |                                   ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 |             ParserState::RType(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 313 -             ParserState::RType(m, ref mut current) => {
[INFO] [stdout] 313 +             ParserState::RType(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:325:38
[INFO] [stdout]     |
[INFO] [stdout] 325 |             ParserState::BiasType(m, ref mut current) => {
[INFO] [stdout]     |                                      ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:325:13
[INFO] [stdout]     |
[INFO] [stdout] 325 |             ParserState::BiasType(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 325 -             ParserState::BiasType(m, ref mut current) => {
[INFO] [stdout] 325 +             ParserState::BiasType(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:337:37
[INFO] [stdout]     |
[INFO] [stdout] 337 |             ParserState::PhyType(m, ref mut current) => {
[INFO] [stdout]     |                                     ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |             ParserState::PhyType(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 337 -             ParserState::PhyType(m, ref mut current) => {
[INFO] [stdout] 337 +             ParserState::PhyType(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:349:37
[INFO] [stdout]     |
[INFO] [stdout] 349 |             ParserState::HutType(m, ref mut current) => {
[INFO] [stdout]     |                                     ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |             ParserState::HutType(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 349 -             ParserState::HutType(m, ref mut current) => {
[INFO] [stdout] 349 +             ParserState::HutType(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:371:34
[INFO] [stdout]     |
[INFO] [stdout] 371 |             ParserState::Lang(m, ref mut current) => {
[INFO] [stdout]     |                                  ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:371:13
[INFO] [stdout]     |
[INFO] [stdout] 371 |             ParserState::Lang(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 371 -             ParserState::Lang(m, ref mut current) => {
[INFO] [stdout] 371 +             ParserState::Lang(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:395:41
[INFO] [stdout]     |
[INFO] [stdout] 395 |             ParserState::CountryCode(m, ref mut current) => {
[INFO] [stdout]     |                                         ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:395:13
[INFO] [stdout]     |
[INFO] [stdout] 395 |             ParserState::CountryCode(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 395 -             ParserState::CountryCode(m, ref mut current) => {
[INFO] [stdout] 395 +             ParserState::CountryCode(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> build.rs:407:42
[INFO] [stdout]     |
[INFO] [stdout] 407 |             ParserState::TerminalType(m, ref mut current) => {
[INFO] [stdout]     |                                          ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> build.rs:407:13
[INFO] [stdout]     |
[INFO] [stdout] 407 |             ParserState::TerminalType(m, ref mut current) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]     |
[INFO] [stdout] 407 -             ParserState::TerminalType(m, ref mut current) => {
[INFO] [stdout] 407 +             ParserState::TerminalType(m, current) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `usb-ids` (build script) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9", kill_on_drop: false }`
[INFO] [stdout] 908eeba2d5bc7f840d9a0aef9edb9f11f6aebc28f90ac2ef587fdcb5df18b6d9
